/*
 * @(#)HelloController.java 2020-07-08
 *
 * Copyright (c) 2010 by rayootech.com. All rights reserved.
 */
package com.nuctech.formlogin.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lilu
 * @date 2020-07-08
 * @since 1.0.0
 */
@RestController
public class HelloController {

	@GetMapping("/index")
	public String index() {
		return "index";
	}

	@GetMapping("/hello")
	public String hello() {
		return "hello";
	}

	@RequestMapping("/hello1")
	public String hello1() {
		return "hello1";
	}

	@RequestMapping("/hello2")
	public String hello2() {
		return "hello2";
	}

	@RequestMapping("/f1")
	public String f1() {
		return "f1";
	}

	@RequestMapping("/f2")
	public String f2() {
		return "f2";
	}

}
